package org.csu.logistics.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigInteger;

@Data
@TableName("orders")
public class Order {
    @TableId(value = "ordernum", type= IdType.AUTO)
    @TableField(value="ordernum")
    private int orderNum;
    @TableField(value="userid")
    private int userId;
    private double weight;
    private String origin;
    private String destination;
    @TableField(value="transportmode")
    private String transportMode;
    @TableField(value="orderstatus")
    private String orderStatus;
    private int evaluate;
    @TableField(value="sendertel")
    private String senderTel;
    @TableField(value="recipientstel")
    private String recipientsTel;
    @TableField(value="sendername")
    private String senderName;
    @TableField(value="recipientsname")
    private String recipientsName;
    @TableField(value="aftersale")
    private String afterSale;
}
